<title>网易云签到 设置</title>
<div class="p5">
    <div class="lan bold">[每日自动] 每天进行网易云音乐打卡签到</div>
    <hr/>
    <form role="form" id="setgn" onsubmit="return false;"> <input type="hidden"
                                                                                                           name="qid"
                                                                                                           value="{$job.qid}">
    <input type="hidden" name="id" value="{$job.uid}">
    <div class="pt2 pb2 in-text bold">
        <dt class="f4 pr5">功能开关</dt>
        <dd><label class="i-checks"><input type="radio" value="0" name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 0"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                           ><i></i>关闭功能</label>
            <label class="i-checks ml4"><input type="radio" value="1"  name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 1"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                               ><i></i>开启功能</label>
        </dd>
    </div>
    <hr/>
		<div class="pt1 pb3 in-text">
            <dt class="bold bb pr2">网易云账号</dt>
            <dd><input type="text" class="form w h8 bb" name="username" placeholder="输入需要签到的网易云账号" value="{$job.list}" autocomplete="off"></dd>
        </div>
		<div class="pt1 pb3 in-text">
            <dt class="bold bb pr2">网易云密码</dt>
            <dd><input type="text" class="form w h8 bb" name="password" placeholder="输入需要签到的网易云密码" value="{$job.data}" autocomplete="off"></dd>
        </div>
    </form>
    <div class="pt6 pb4">
        <button class="btn btn-qing btn-md btn-block rx1" onclick="ajax_gnset_wyqd();">保 存 设 置</button>
    </div>
</div>
<script type="text/javascript">
    function ajax_gnset_wyqd() {
        var data = $("#setgn").serialize();
        x.ajax('{:url('pc_ajax/gnset',['act'=>'wyqd'])}', data);
    }
</script>